package cn.com.bsoft.cloud.dao.healthweb;

import cn.com.bsoft.cloud.UseDatasourceHealthWeb;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@UseDatasourceHealthWeb
public interface CloudHealthDao {

    @Select("select JZLSH from DC1001 where BSHM=#{cardNo} AND JGDM=#{hosCode} and JZKSSJ>dateadd(MONTH,-3,getdate())")
    List<String> queryExistMess(@Param("cardNo") String cardNo,@Param("hosCode") String hosCode);
}
